#ifndef WEATHERDISPLAYBOX_H
#define WEATHERDISPLAYBOX_H

#include <QWidget>
#include <QPainter>
#include <QPen>
#include <QBrush>
#include <QVBoxLayout>
#include <QLabel>

class WeatherDisplayBox : public QWidget
{
    Q_OBJECT
public:
    explicit WeatherDisplayBox(QWidget *parent = nullptr);
    ~WeatherDisplayBox();
    
    void set_color(QColor color);
    void set_weekday_label(QString week);
    void set_weatherPixmap_label(QPixmap pixmap);
    void set_wendu_label(QString high,QString lower);
protected:
    void paintEvent(QPaintEvent *event);
signals:
    
private:
    
    QColor color;
    QVBoxLayout *vbox_layout;
    QLabel *weekday_label;
    QLabel *weatherPixmap_label;
    QLabel *wendu_label; 
};

#endif // WEATHERDISPLAYBOX_H
